ostree-repo-pull: Take correct out path on error
authorPhilip Withnall <pwithnall@endlessos.org>
Tue, 8 Mar 2022 15:36:27 +0000 (15:36 +0000)
committerPhilip Withnall <pwithnall@endlessos.org>
Tue, 8 Mar 2022 15:36:27 +0000 (15:36 +0000)
commit8cc8e687683f363f070b900c8ab7bc913d5c83b7
treedf59004c63eac68f217223dcd9bd68b5a62c4fe4
parent775ff6e687725c64ec04b6e2b887c99eb380adbe
ostree-repo-pull: Take correct out path on error

Like every other error return path in this function, jump to the `out`
label on error here. Returning directly will cause leaks.

Spotted by reading the code, not actually necessarily encountered in the
wild.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
src/libostree/ostree-repo-pull.c